package com.yoga.mapper;

import com.yoga.entity.YogaPrivaterequest;
import com.yoga.entity.YogaPrivaterequestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaPrivaterequestDao {
    long countByExample(YogaPrivaterequestExample example);

    int deleteByExample(YogaPrivaterequestExample example);

    int deleteByPrimaryKey(Integer pqid);

    int insert(YogaPrivaterequest record);

    int insertSelective(YogaPrivaterequest record);

    List<YogaPrivaterequest> selectByExample(YogaPrivaterequestExample example);

    YogaPrivaterequest selectByPrimaryKey(Integer pqid);

    int updateByExampleSelective(@Param("record") YogaPrivaterequest record, @Param("example") YogaPrivaterequestExample example);

    int updateByExample(@Param("record") YogaPrivaterequest record, @Param("example") YogaPrivaterequestExample example);

    int updateByPrimaryKeySelective(YogaPrivaterequest record);

    int updateByPrimaryKey(YogaPrivaterequest record);
    List<YogaPrivaterequest> coachByPrivate(Integer coachuid);

    List<YogaPrivaterequest> userByPrivate(String coachuid);
}